home *** CD-ROM | disk | FTP | other *** search
-
- A pair of dice are being rolled 108 000 times to check for randomness.
- This test takes about 33 seconds on a 68882 @ 33mhz. Each combination
- should occur 1/36th of the time (i.e. 3000).
- Test time = 33.60 seconds.
-
-
- 1 2 3 4 5 6
-
- 1 3025 3090 3008 3034 3038 2985
- 2 3015 2918 3013 3071 3030 2902
- 3 3002 3028 2944 3061 2988 3067
- 4 2947 2990 2987 2994 2975 2989
- 5 2980 3001 2993 2964 2945 3048
- 6 3081 3060 2997 2858 3018 2954
-
- The same two times in a row. (i.e. 1/36 * 108 000)
- Theory = 3000 Actual = 2991
-
- Opposite but still the same two times in a row.
- Theory = 3000 Actual = 2990
-
- The same three times in a row. (i.e. 1/1296 * 108 000)
- Theory = 83 Actual = 71
-
- Doubles. (i.e. 1/6 of 108 000)
- Theory = 18 000 Actual = 17780
-
- Total of all rolls including doubles. (i.e. 8.167 * 108 000)
- Theory = 882 000 Actual = 879193
-